﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin-site.Master" AutoEventWireup="true" CodeBehind="Additional.aspx.cs" Inherits="CodeCamp12.admin.Additional" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">
    <link href="../Scripts/AjaxUpload/fileuploader.css" rel="stylesheet" type="text/css" />
     <style type="text/css">
        .style1
        {
            width: 250px;
            vertical-align: top;
            font-weight: bold;
        }
    </style>
    
    <script src="../Scripts/Additional.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="server">
    <h2>This page is for modifying the master page elements</h2>
    
    <table>
        <tr>
            <td class="style1">Update the link for Contributors page:</td>
            <td>
                <label class="error" style="display: none" id="lblContributors" for="txtContributors">You must insert the contributors link</label>
                <input type="text" id="txtContributors"/>
                <br/><button onclick="UpdateContributorsPage()">Update</button>
            </td>
            
        </tr>
        
        <tr>
            <td class="style1">Update the facebook link:</td>
            <td>
                <label class="error" style="display: none" id="lblFacebook" for="txtFacebook">You must insert the Facebook link</label>
                <input type="text" id="txtFacebook"/>
                <br/><button onclick="UpdateFacebookPage();">Update</button> 
            </td>
            
        </tr>
        
        <tr>
            <td class="style1">Update the twitter link:</td>
            <td>
                <label class="error" style="display: none" id="lblTwitter" for="txtTwitter">You must insert the Twitter link</label>
                <input type="text" id="txtTwitter"/>
                <br/><button onclick="UpdateTwitterPage();">Update</button> 
            </td>
       </tr>   
       
       <tr>
           <td class="style1">Update the Linkedin link:</td>
           <td>
               <label class="error" style="display: none" id="lblLinkedin" for="txtLinkedin">You must insert the Linkedin link</label>
               <input type="text" id="txtLinkedin"/>
               <br/><button onclick="UpdateLinkedinPage();">Update</button> 
           </td>
       </tr>
       
       <tr>
           <td class="style1">
               Change the home page video:<br/>(Optimal embed size is 560x315)
           </td>
           <td>
               <label class="error" style="display: none" id="lblYouTube" for="txtHomeVideo">You must insert the Youtube video link</label>
               <input type="text" id="txtHomeVideo"/><br/>
               <button onclick="UpdateYouTubeVideo();">Update</button>
           </td>
       </tr>
       
       <tr>
           <td class="style1">Update the top logo:</td>
           <td>
                <div id="upload_img">
                        <noscript>
                            <p>Please enable JavaScript to use file uploader.</p>
                            <!-- or put a simple form for upload here -->
                        </noscript>   
                </div>
           </td>
       </tr>
   </table>
</asp:Content>
